using System;
using System.Runtime.InteropServices;
namespace SHDocVw
{
	[ClassInterface(ClassInterfaceType.None), TypeLibType(TypeLibTypeFlags.FHidden)]
	public sealed class DWebBrowserEvents2_SinkHelper : DWebBrowserEvents2
	{
		public DWebBrowserEvents2_NewWindow3EventHandler m_NewWindow3Delegate;
		public DWebBrowserEvents2_SetPhishingFilterStatusEventHandler m_SetPhishingFilterStatusDelegate;
		public DWebBrowserEvents2_WindowStateChangedEventHandler m_WindowStateChangedDelegate;
		public DWebBrowserEvents2_NewProcessEventHandler m_NewProcessDelegate;
		public DWebBrowserEvents2_ThirdPartyUrlBlockedEventHandler m_ThirdPartyUrlBlockedDelegate;
		public DWebBrowserEvents2_RedirectXDomainBlockedEventHandler m_RedirectXDomainBlockedDelegate;
		public DWebBrowserEvents2_StatusTextChangeEventHandler m_StatusTextChangeDelegate;
		public DWebBrowserEvents2_ProgressChangeEventHandler m_ProgressChangeDelegate;
		public DWebBrowserEvents2_CommandStateChangeEventHandler m_CommandStateChangeDelegate;
		public DWebBrowserEvents2_DownloadBeginEventHandler m_DownloadBeginDelegate;
		public DWebBrowserEvents2_DownloadCompleteEventHandler m_DownloadCompleteDelegate;
		public DWebBrowserEvents2_TitleChangeEventHandler m_TitleChangeDelegate;
		public DWebBrowserEvents2_PropertyChangeEventHandler m_PropertyChangeDelegate;
		public DWebBrowserEvents2_BeforeNavigate2EventHandler m_BeforeNavigate2Delegate;
		public DWebBrowserEvents2_NewWindow2EventHandler m_NewWindow2Delegate;
		public DWebBrowserEvents2_NavigateComplete2EventHandler m_NavigateComplete2Delegate;
		public DWebBrowserEvents2_DocumentCompleteEventHandler m_DocumentCompleteDelegate;
		public DWebBrowserEvents2_OnQuitEventHandler m_OnQuitDelegate;
		public DWebBrowserEvents2_OnVisibleEventHandler m_OnVisibleDelegate;
		public DWebBrowserEvents2_OnToolBarEventHandler m_OnToolBarDelegate;
		public DWebBrowserEvents2_OnMenuBarEventHandler m_OnMenuBarDelegate;
		public DWebBrowserEvents2_OnStatusBarEventHandler m_OnStatusBarDelegate;
		public DWebBrowserEvents2_OnFullScreenEventHandler m_OnFullScreenDelegate;
		public DWebBrowserEvents2_OnTheaterModeEventHandler m_OnTheaterModeDelegate;
		public DWebBrowserEvents2_WindowSetResizableEventHandler m_WindowSetResizableDelegate;
		public DWebBrowserEvents2_WindowSetLeftEventHandler m_WindowSetLeftDelegate;
		public DWebBrowserEvents2_WindowSetTopEventHandler m_WindowSetTopDelegate;
		public DWebBrowserEvents2_WindowSetWidthEventHandler m_WindowSetWidthDelegate;
		public DWebBrowserEvents2_WindowSetHeightEventHandler m_WindowSetHeightDelegate;
		public DWebBrowserEvents2_WindowClosingEventHandler m_WindowClosingDelegate;
		public DWebBrowserEvents2_ClientToHostWindowEventHandler m_ClientToHostWindowDelegate;
		public DWebBrowserEvents2_SetSecureLockIconEventHandler m_SetSecureLockIconDelegate;
		public DWebBrowserEvents2_FileDownloadEventHandler m_FileDownloadDelegate;
		public DWebBrowserEvents2_NavigateErrorEventHandler m_NavigateErrorDelegate;
		public DWebBrowserEvents2_PrintTemplateInstantiationEventHandler m_PrintTemplateInstantiationDelegate;
		public DWebBrowserEvents2_PrintTemplateTeardownEventHandler m_PrintTemplateTeardownDelegate;
		public DWebBrowserEvents2_UpdatePageStatusEventHandler m_UpdatePageStatusDelegate;
		public DWebBrowserEvents2_PrivacyImpactedStateChangeEventHandler m_PrivacyImpactedStateChangeDelegate;
		public int m_dwCookie;
		public override void NewWindow3(ref object ppDisp, ref bool cancel, uint dwFlags, string bstrUrlContext, string bstrUrl)
		{
			if (this.m_NewWindow3Delegate != null)
			{
				this.m_NewWindow3Delegate(ref ppDisp, ref cancel, dwFlags, bstrUrlContext, bstrUrl);
				return;
			}
		}
		public override void SetPhishingFilterStatus(int phishingFilterStatus)
		{
			if (this.m_SetPhishingFilterStatusDelegate != null)
			{
				this.m_SetPhishingFilterStatusDelegate(phishingFilterStatus);
				return;
			}
		}
		public override void WindowStateChanged(uint dwWindowStateFlags, uint dwValidFlagsMask)
		{
			if (this.m_WindowStateChangedDelegate != null)
			{
				this.m_WindowStateChangedDelegate(dwWindowStateFlags, dwValidFlagsMask);
				return;
			}
		}
		public override void NewProcess(int lCauseFlag, object pWB, ref bool cancel)
		{
			if (this.m_NewProcessDelegate != null)
			{
				this.m_NewProcessDelegate(lCauseFlag, pWB, ref cancel);
				return;
			}
		}
		public override void ThirdPartyUrlBlocked(ref object uRL, uint dwCount)
		{
			if (this.m_ThirdPartyUrlBlockedDelegate != null)
			{
				this.m_ThirdPartyUrlBlockedDelegate(ref uRL, dwCount);
				return;
			}
		}
		public override void RedirectXDomainBlocked(object pDisp, ref object startURL, ref object redirectURL, ref object frame, ref object statusCode)
		{
			if (this.m_RedirectXDomainBlockedDelegate != null)
			{
				this.m_RedirectXDomainBlockedDelegate(pDisp, ref startURL, ref redirectURL, ref frame, ref statusCode);
				return;
			}
		}
		public override void StatusTextChange(string text)
		{
			if (this.m_StatusTextChangeDelegate != null)
			{
				this.m_StatusTextChangeDelegate(text);
				return;
			}
		}
		public override void ProgressChange(int progress, int progressMax)
		{
			if (this.m_ProgressChangeDelegate != null)
			{
				this.m_ProgressChangeDelegate(progress, progressMax);
				return;
			}
		}
		public override void CommandStateChange(int command, bool enable)
		{
			if (this.m_CommandStateChangeDelegate != null)
			{
				this.m_CommandStateChangeDelegate(command, enable);
				return;
			}
		}
		public override void DownloadBegin()
		{
			if (this.m_DownloadBeginDelegate != null)
			{
				this.m_DownloadBeginDelegate();
				return;
			}
		}
		public override void DownloadComplete()
		{
			if (this.m_DownloadCompleteDelegate != null)
			{
				this.m_DownloadCompleteDelegate();
				return;
			}
		}
		public override void TitleChange(string text)
		{
			if (this.m_TitleChangeDelegate != null)
			{
				this.m_TitleChangeDelegate(text);
				return;
			}
		}
		public override void PropertyChange(string szProperty)
		{
			if (this.m_PropertyChangeDelegate != null)
			{
				this.m_PropertyChangeDelegate(szProperty);
				return;
			}
		}
		public override void BeforeNavigate2(object pDisp, ref object uRL, ref object flags, ref object targetFrameName, ref object postData, ref object headers, ref bool cancel)
		{
			if (this.m_BeforeNavigate2Delegate != null)
			{
				this.m_BeforeNavigate2Delegate(pDisp, ref uRL, ref flags, ref targetFrameName, ref postData, ref headers, ref cancel);
				return;
			}
		}
		public override void NewWindow2(ref object ppDisp, ref bool cancel)
		{
			if (this.m_NewWindow2Delegate != null)
			{
				this.m_NewWindow2Delegate(ref ppDisp, ref cancel);
				return;
			}
		}
		public override void NavigateComplete2(object pDisp, ref object uRL)
		{
			if (this.m_NavigateComplete2Delegate != null)
			{
				this.m_NavigateComplete2Delegate(pDisp, ref uRL);
				return;
			}
		}
		public override void DocumentComplete(object pDisp, ref object uRL)
		{
			if (this.m_DocumentCompleteDelegate != null)
			{
				this.m_DocumentCompleteDelegate(pDisp, ref uRL);
				return;
			}
		}
		public override void OnQuit()
		{
			if (this.m_OnQuitDelegate != null)
			{
				this.m_OnQuitDelegate();
				return;
			}
		}
		public override void OnVisible(bool visible)
		{
			if (this.m_OnVisibleDelegate != null)
			{
				this.m_OnVisibleDelegate(visible);
				return;
			}
		}
		public override void OnToolBar(bool toolBar)
		{
			if (this.m_OnToolBarDelegate != null)
			{
				this.m_OnToolBarDelegate(toolBar);
				return;
			}
		}
		public override void OnMenuBar(bool menuBar)
		{
			if (this.m_OnMenuBarDelegate != null)
			{
				this.m_OnMenuBarDelegate(menuBar);
				return;
			}
		}
		public override void OnStatusBar(bool statusBar)
		{
			if (this.m_OnStatusBarDelegate != null)
			{
				this.m_OnStatusBarDelegate(statusBar);
				return;
			}
		}
		public override void OnFullScreen(bool fullScreen)
		{
			if (this.m_OnFullScreenDelegate != null)
			{
				this.m_OnFullScreenDelegate(fullScreen);
				return;
			}
		}
		public override void OnTheaterMode(bool theaterMode)
		{
			if (this.m_OnTheaterModeDelegate != null)
			{
				this.m_OnTheaterModeDelegate(theaterMode);
				return;
			}
		}
		public override void WindowSetResizable(bool resizable)
		{
			if (this.m_WindowSetResizableDelegate != null)
			{
				this.m_WindowSetResizableDelegate(resizable);
				return;
			}
		}
		public override void WindowSetLeft(int left)
		{
			if (this.m_WindowSetLeftDelegate != null)
			{
				this.m_WindowSetLeftDelegate(left);
				return;
			}
		}
		public override void WindowSetTop(int top)
		{
			if (this.m_WindowSetTopDelegate != null)
			{
				this.m_WindowSetTopDelegate(top);
				return;
			}
		}
		public override void WindowSetWidth(int width)
		{
			if (this.m_WindowSetWidthDelegate != null)
			{
				this.m_WindowSetWidthDelegate(width);
				return;
			}
		}
		public override void WindowSetHeight(int height)
		{
			if (this.m_WindowSetHeightDelegate != null)
			{
				this.m_WindowSetHeightDelegate(height);
				return;
			}
		}
		public override void WindowClosing(bool isChildWindow, ref bool cancel)
		{
			if (this.m_WindowClosingDelegate != null)
			{
				this.m_WindowClosingDelegate(isChildWindow, ref cancel);
				return;
			}
		}
		public override void ClientToHostWindow(ref int cX, ref int cY)
		{
			if (this.m_ClientToHostWindowDelegate != null)
			{
				this.m_ClientToHostWindowDelegate(ref cX, ref cY);
				return;
			}
		}
		public override void SetSecureLockIcon(int secureLockIcon)
		{
			if (this.m_SetSecureLockIconDelegate != null)
			{
				this.m_SetSecureLockIconDelegate(secureLockIcon);
				return;
			}
		}
		public override void FileDownload(bool activeDocument, ref bool cancel)
		{
			if (this.m_FileDownloadDelegate != null)
			{
				this.m_FileDownloadDelegate(activeDocument, ref cancel);
				return;
			}
		}
		public override void NavigateError(object pDisp, ref object uRL, ref object frame, ref object statusCode, ref bool cancel)
		{
			if (this.m_NavigateErrorDelegate != null)
			{
				this.m_NavigateErrorDelegate(pDisp, ref uRL, ref frame, ref statusCode, ref cancel);
				return;
			}
		}
		public override void PrintTemplateInstantiation(object pDisp)
		{
			if (this.m_PrintTemplateInstantiationDelegate != null)
			{
				this.m_PrintTemplateInstantiationDelegate(pDisp);
				return;
			}
		}
		public override void PrintTemplateTeardown(object pDisp)
		{
			if (this.m_PrintTemplateTeardownDelegate != null)
			{
				this.m_PrintTemplateTeardownDelegate(pDisp);
				return;
			}
		}
		public override void UpdatePageStatus(object pDisp, ref object nPage, ref object fDone)
		{
			if (this.m_UpdatePageStatusDelegate != null)
			{
				this.m_UpdatePageStatusDelegate(pDisp, ref nPage, ref fDone);
				return;
			}
		}
		public override void PrivacyImpactedStateChange(bool bImpacted)
		{
			if (this.m_PrivacyImpactedStateChangeDelegate != null)
			{
				this.m_PrivacyImpactedStateChangeDelegate(bImpacted);
				return;
			}
		}
		internal DWebBrowserEvents2_SinkHelper()
		{
			this.m_dwCookie = 0;
			this.m_NewWindow3Delegate = null;
			this.m_SetPhishingFilterStatusDelegate = null;
			this.m_WindowStateChangedDelegate = null;
			this.m_NewProcessDelegate = null;
			this.m_ThirdPartyUrlBlockedDelegate = null;
			this.m_RedirectXDomainBlockedDelegate = null;
			this.m_StatusTextChangeDelegate = null;
			this.m_ProgressChangeDelegate = null;
			this.m_CommandStateChangeDelegate = null;
			this.m_DownloadBeginDelegate = null;
			this.m_DownloadCompleteDelegate = null;
			this.m_TitleChangeDelegate = null;
			this.m_PropertyChangeDelegate = null;
			this.m_BeforeNavigate2Delegate = null;
			this.m_NewWindow2Delegate = null;
			this.m_NavigateComplete2Delegate = null;
			this.m_DocumentCompleteDelegate = null;
			this.m_OnQuitDelegate = null;
			this.m_OnVisibleDelegate = null;
			this.m_OnToolBarDelegate = null;
			this.m_OnMenuBarDelegate = null;
			this.m_OnStatusBarDelegate = null;
			this.m_OnFullScreenDelegate = null;
			this.m_OnTheaterModeDelegate = null;
			this.m_WindowSetResizableDelegate = null;
			this.m_WindowSetLeftDelegate = null;
			this.m_WindowSetTopDelegate = null;
			this.m_WindowSetWidthDelegate = null;
			this.m_WindowSetHeightDelegate = null;
			this.m_WindowClosingDelegate = null;
			this.m_ClientToHostWindowDelegate = null;
			this.m_SetSecureLockIconDelegate = null;
			this.m_FileDownloadDelegate = null;
			this.m_NavigateErrorDelegate = null;
			this.m_PrintTemplateInstantiationDelegate = null;
			this.m_PrintTemplateTeardownDelegate = null;
			this.m_UpdatePageStatusDelegate = null;
			this.m_PrivacyImpactedStateChangeDelegate = null;
		}
	}
}
